<?php
/*

*/

class DB {
      private static $instance;
      
      private function __construct() {
      }
      
      public static function getInstance() {
            if (is_null(self::$instance)) { 
                  self::$instance = new DB();
            }
            return self::$instance;
      }
      
      public function getParameter($name) {
            if (isset($this->parameters[$name])) return $this->parameters[$name];
            else return '';
      }
}
?>
